<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Referência da Template de Classe population&lt; _ty, _realTy &gt;</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Busca" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;de&nbsp;Componentes</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarquia&nbsp;de&nbsp;Classes</span></a></li>
      <li><a href="functions.html"><span>Componentes&nbsp;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência da Template de Classe population&lt; _ty, _realTy &gt;</h1><!-- doxytag: class="population" -->
<p><code>#include &lt;<a class="el" href="population_8h_source.html">population.h</a>&gt;</code></p>
<div class="dynheader">
Diagrama de Hierarquia para population&lt; _ty, _realTy &gt;:</div>
<div class="dynsection">
 <div class="center">
  <img src="classpopulation.png" usemap="#population&lt; _ty, _realTy &gt;_map" alt=""/>
  <map id="population&lt; _ty, _realTy &gt;_map" name="population&lt; _ty, _realTy &gt;_map">
<area href="classpopulation__thread.html" alt="population_thread&lt; _ty, _realTy &gt;" shape="rect" coords="0,56,206,80"/>
</map>
 </div>
</div>

<p><a href="classpopulation-members.html">Lista de todos os Membros.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Tipos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a487317a079f4b94c650983ccbd0048a5">_pop</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;<br class="typebreak"/>
 * &gt;::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;<br class="typebreak"/>
 * &gt;::const_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a></td></tr>
<tr><td colspan="2"><h2>Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa497c7bcf82ec82f15cf0ca41f29c153">population</a> (const int &amp;number_ids=def::population::population_size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#ab7b5dad1173b0da5b177e6253b66a071">population</a> (const <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt; &amp;pop)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a735c7c86f92155f0deb6034432086d37">~population</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a15aee31f3669a3819a025d0c88fd559b">GetId</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa7803cea8fa30be9c9732d8e81f8aaf4">SetId</a> (const int &amp;new_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa8d33d15eef1966482d052ff509bc638">GetNumerOfIndividuals</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a3c0a549de81a152a15f052e57f106a86">GetAveragePerformance</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a7fb6b0d19740560913aac2eb376c56fb">SetAveragePerformance</a> (const _realTy &amp;new_average)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#ac7e0fd101523d1f1db34ae3484a30bf3">GetSum</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a80e34ba9884327ddc5bafbaedd32014b">SetSum</a> (const _realTy &amp;new_sum)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_realTy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#abe769cd333fa71228e6a89da1171fd93">GetDeviation</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#ad0b1614ed94b9eb82a8ca0e24bdc603b">SetDeviation</a> (const _realTy &amp;new_deviation)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a2ddcfb41305717b30051f0aa0a8e240c">SendGenerationDataToStream</a> (std::ostream &amp;os) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a4751584859b70770ae44717a43f9ab95">begin</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a38318f9ca5c607490f4d6e92b54d8734">end</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a7c7bcf224b99227f6ab381dbc9f37c2c">begin</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a42a620c96d521b7dcbd091c086258a4c">end</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#ac7b74f6cbb098394df06e1c84de0f260">SetNewIndividuals</a> (const <a class="el" href="classpopulation.html#a487317a079f4b94c650983ccbd0048a5">_pop</a> &amp;new_pop)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a251eb4e8235f4c456e2940fe4a0e4678">GetWorseId</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a9b2b5de6f220010a0d6c780b7ce04e5b">GetBestId</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a6ca81f5193818b065f792fac9b51f6e3">operator[]</a> (const int &amp;indice) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a1a847bb47928abf5a0d0a7e4a2ec8c5f">operator==</a> (const <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt; &amp;pop) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a14c45c3fe1905bcb673919ae251087a9">operator[]</a> (const int &amp;indice)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aba14d0fb6ceb7499c4fc4838889ba918">PrintPairs</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a20b40816fade14ec740cdc3f22d8066e">GeneratePopulation</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a10331bd5a9f8f4879cea62ee8b1f28c3">SetIndividualsValue</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a83be39057000008244d4d7bc947d09fa">SortPopulation</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a6953ec7e3cd8aa654a1621c515e0d166">CleanPopulation</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a23a6d7fca0c7cbaffdcf6cb6cf3239a9">AddIndividualToPopulation</a> (<a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *newId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a1c227882a579ffe0b2fb049518e1eb85">RemoveIndividualAt</a> (const int &amp;pos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa2cbedb9d90d9c660b4a4369857e1c96">SetNullIndividualAt</a> (const int &amp;pos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpopulation.html#a7dd1a669bdbc71381ad2d01ca35c24ae">UpdateData</a> (void)</td></tr>
<tr><td colspan="2"><h2>Amigas</h2></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="aa6fb88900759771dccfd85d21785fd1b"></a><!-- doxytag: member="population::operator&gt;&gt;" ref="aa6fb88900759771dccfd85d21785fd1b" args="(std::istream &amp;is, population&lt; T, U &gt; &amp;pop)" -->
template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::istream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpopulation.html#aa6fb88900759771dccfd85d21785fd1b">operator&gt;&gt;</a> (std::istream &amp;is, <a class="el" href="classpopulation.html">population</a>&lt; T, U &gt; &amp;pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sobrecarga de operadores. <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ab134fdc6db277abea408d9dfb410e725"></a><!-- doxytag: member="population::operator&lt;&lt;" ref="ab134fdc6db277abea408d9dfb410e725" args="(std::ostream &amp;os, const population&lt; T, U &gt; &amp;pop)" -->
template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>operator&lt;&lt;</b> (std::ostream &amp;os, const <a class="el" href="classpopulation.html">population</a>&lt; T, U &gt; &amp;pop)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição Detalhada</h2>
<h3>template&lt;typename _ty, typename _realTy&gt;<br/>
 class population&lt; _ty, _realTy &gt;</h3>

<p>Class that encapsulates the concept of a population in a Genetic algorithm optimization method.</p>
<p>Importantan Variables:</p>
<p>_myPop: Container that stores the individuals of the population _bestId,_worseId: Respectivily best and worse individuals of the consteiner _myPop _avarege: Avarage value of the objective function of the population </p>
<hr/><h2>Definições de Tipos</h2>
<a class="anchor" id="a487317a079f4b94c650983ccbd0048a5"></a><!-- doxytag: member="population::_pop" ref="a487317a079f4b94c650983ccbd0048a5" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;*&gt; <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::<a class="el" href="classpopulation.html#a487317a079f4b94c650983ccbd0048a5">_pop</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Definição de uma população. </p>

</div>
</div>
<a class="anchor" id="afcea3753ae2b2e0211f8fdc919c51a71"></a><!-- doxytag: member="population::const_it_" ref="afcea3753ae2b2e0211f8fdc919c51a71" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;*&gt;::const_iterator <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::<a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Definição de um iterator constante para percorrer o vetor de indivíduos. </p>

</div>
</div>
<a class="anchor" id="aa2f35e7dcc0553a7d2a96e5dca6105e0"></a><!-- doxytag: member="population::it_" ref="aa2f35e7dcc0553a7d2a96e5dca6105e0" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;*&gt;::iterator <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::<a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Definição de um iterator para percorrer o vetor de indivíduos. </p>

</div>
</div>
<hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="aa497c7bcf82ec82f15cf0ca41f29c153"></a><!-- doxytag: member="population::population" ref="aa497c7bcf82ec82f15cf0ca41f29c153" args="(const int &amp;number_ids=def::population::population_size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::<a class="el" href="classpopulation.html">population</a> </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>number_ids</em> = <code>def::population&lt;&nbsp;_ty,&nbsp;_realTy&nbsp;&gt;::population_size</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método contrutor que recebe apenas o tamanho da população, ou seja, o número de indivíduos da mesma.</p>
<p>number_ids O número de indivíduos da população. </p>

</div>
</div>
<a class="anchor" id="ab7b5dad1173b0da5b177e6253b66a071"></a><!-- doxytag: member="population::population" ref="ab7b5dad1173b0da5b177e6253b66a071" args="(const population&lt; _ty, _realTy &gt; &amp;pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::<a class="el" href="classpopulation.html">population</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>pop</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construtor de cópia.</p>
<p>pop População a ser copiada. </p>

</div>
</div>
<a class="anchor" id="a735c7c86f92155f0deb6034432086d37"></a><!-- doxytag: member="population::~population" ref="a735c7c86f92155f0deb6034432086d37" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::~<a class="el" href="classpopulation.html">population</a> </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método destrutor. </p>

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a23a6d7fca0c7cbaffdcf6cb6cf3239a9"></a><!-- doxytag: member="population::AddIndividualToPopulation" ref="a23a6d7fca0c7cbaffdcf6cb6cf3239a9" args="(individual&lt; _ty, _realTy &gt; *newId)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::AddIndividualToPopulation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td>
          <td class="paramname"> <em>newId</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adiciona um indivíduo no vetor caso o vetor não esteja cheio, e retorna se foi possível adicionar o novo indivíduo</p>
<p>newId Novo indivíduo a ser adicionado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se a inserção foi realzada com sucesso, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a7c7bcf224b99227f6ab381dbc9f37c2c"></a><!-- doxytag: member="population::begin" ref="a7c7bcf224b99227f6ab381dbc9f37c2c" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a> <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para manipular os indivíduos da população.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o começo do container que armazena os indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="a4751584859b70770ae44717a43f9ab95"></a><!-- doxytag: member="population::begin" ref="a4751584859b70770ae44717a43f9ab95" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a> <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para manipular os indivíduos da população.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o começo do container que armazena os indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="a6953ec7e3cd8aa654a1621c515e0d166"></a><!-- doxytag: member="population::CleanPopulation" ref="a6953ec7e3cd8aa654a1621c515e0d166" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::CleanPopulation </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Limpa o container de indivíduos da população. </p>

</div>
</div>
<a class="anchor" id="a42a620c96d521b7dcbd091c086258a4c"></a><!-- doxytag: member="population::end" ref="a42a620c96d521b7dcbd091c086258a4c" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html#aa2f35e7dcc0553a7d2a96e5dca6105e0">it_</a> <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::end </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para manipular os indivíduos da população.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o fim do container que armazena os indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="a38318f9ca5c607490f4d6e92b54d8734"></a><!-- doxytag: member="population::end" ref="a38318f9ca5c607490f4d6e92b54d8734" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a> <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::end </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para manipular os indivíduos da população.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o fim do container que armazena os indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="a20b40816fade14ec740cdc3f22d8066e"></a><!-- doxytag: member="population::GeneratePopulation" ref="a20b40816fade14ec740cdc3f22d8066e" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GeneratePopulation </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gera uma população de indivíduos aleatórios. </p>

</div>
</div>
<a class="anchor" id="a3c0a549de81a152a15f052e57f106a86"></a><!-- doxytag: member="population::GetAveragePerformance" ref="a3c0a549de81a152a15f052e57f106a86" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetAveragePerformance </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor médio do fitness dos indivíduos da população. </dd></dl>

</div>
</div>
<a class="anchor" id="a9b2b5de6f220010a0d6c780b7ce04e5b"></a><!-- doxytag: member="population::GetBestId" ref="a9b2b5de6f220010a0d6c780b7ce04e5b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;* <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetBestId </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um ponteiro para o indivíduo com o melhor fitness da população. </dd></dl>

</div>
</div>
<a class="anchor" id="abe769cd333fa71228e6a89da1171fd93"></a><!-- doxytag: member="population::GetDeviation" ref="abe769cd333fa71228e6a89da1171fd93" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetDeviation </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor da variância do fitness dos indivíduos da população. </dd></dl>

</div>
</div>
<a class="anchor" id="a15aee31f3669a3819a025d0c88fd559b"></a><!-- doxytag: member="population::GetId" ref="a15aee31f3669a3819a025d0c88fd559b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetId </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O inteiro que identifica unicamente um indivíduo. </dd></dl>

</div>
</div>
<a class="anchor" id="aa8d33d15eef1966482d052ff509bc638"></a><!-- doxytag: member="population::GetNumerOfIndividuals" ref="aa8d33d15eef1966482d052ff509bc638" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetNumerOfIndividuals </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O número de indivíduos da população. </dd></dl>

</div>
</div>
<a class="anchor" id="ac7e0fd101523d1f1db34ae3484a30bf3"></a><!-- doxytag: member="population::GetSum" ref="ac7e0fd101523d1f1db34ae3484a30bf3" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">_realTy <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetSum </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A soma dos valores de fitness de todos os indivíduos da população. </dd></dl>

</div>
</div>
<a class="anchor" id="a251eb4e8235f4c456e2940fe4a0e4678"></a><!-- doxytag: member="population::GetWorseId" ref="a251eb4e8235f4c456e2940fe4a0e4678" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;* <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::GetWorseId </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um ponteiro para o indivíduo com o pior fitness da população. </dd></dl>

</div>
</div>
<a class="anchor" id="a1a847bb47928abf5a0d0a7e4a2ec8c5f"></a><!-- doxytag: member="population::operator==" ref="a1a847bb47928abf5a0d0a7e4a2ec8c5f" args="(const population&lt; _ty, _realTy &gt; &amp;pop) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>pop</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de igualdade. Retorna se dois indivíduos têm o mesmo fitness.</p>
<p>pop A população que se deseja comparar o fitness.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso os fitnesses sejam iguais, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a14c45c3fe1905bcb673919ae251087a9"></a><!-- doxytag: member="population::operator[]" ref="a14c45c3fe1905bcb673919ae251087a9" args="(const int &amp;indice)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;* <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>indice</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de acesso aleatório. Acesso um indivíduo em determinado índice do container de indivíduos.</p>
<p>indice O índice do container do indivíduo que se deseja acessar.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um ponteiro para o indivíduo que se deseja acessar. </dd></dl>

</div>
</div>
<a class="anchor" id="a6ca81f5193818b065f792fac9b51f6e3"></a><!-- doxytag: member="population::operator[]" ref="a6ca81f5193818b065f792fac9b51f6e3" args="(const int &amp;indice) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classpopulation.html#afcea3753ae2b2e0211f8fdc919c51a71">const_it_</a> <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>indice</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de acesso aleatório. Acesso um indivíduo em determinado índice do container de indivíduos.</p>
<p>indice O índice do container do indivíduo que se deseja acessar.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o indivíduo que se deseja acessar. </dd></dl>

</div>
</div>
<a class="anchor" id="aba14d0fb6ceb7499c4fc4838889ba918"></a><!-- doxytag: member="population::PrintPairs" ref="aba14d0fb6ceb7499c4fc4838889ba918" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::PrintPairs </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Imprime os pares da população na saída padrão. </p>

</div>
</div>
<a class="anchor" id="a1c227882a579ffe0b2fb049518e1eb85"></a><!-- doxytag: member="population::RemoveIndividualAt" ref="a1c227882a579ffe0b2fb049518e1eb85" args="(const int &amp;pos)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::RemoveIndividualAt </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove o indivíduo da posição pos da população</p>
<p>pos A posição no container de indivíduos do indivíduo a ser removido.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se a remoção foi realizada com sucesso, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a2ddcfb41305717b30051f0aa0a8e240c"></a><!-- doxytag: member="population::SendGenerationDataToStream" ref="a2ddcfb41305717b30051f0aa0a8e240c" args="(std::ostream &amp;os) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SendGenerationDataToStream </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Envia os dados da população (fitness, variancia, etc) para a stream.</p>
<p>os A stream para onde são enviado os dados. </p>

</div>
</div>
<a class="anchor" id="a7fb6b0d19740560913aac2eb376c56fb"></a><!-- doxytag: member="population::SetAveragePerformance" ref="a7fb6b0d19740560913aac2eb376c56fb" args="(const _realTy &amp;new_average)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetAveragePerformance </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_average</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_average O novo valor médio do fitness dos indivíduos da população. </p>

</div>
</div>
<a class="anchor" id="ad0b1614ed94b9eb82a8ca0e24bdc603b"></a><!-- doxytag: member="population::SetDeviation" ref="ad0b1614ed94b9eb82a8ca0e24bdc603b" args="(const _realTy &amp;new_deviation)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetDeviation </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_deviation</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_deviation O novo valor da variância do fitness dos indivíduos da população. </p>

</div>
</div>
<a class="anchor" id="aa7803cea8fa30be9c9732d8e81f8aaf4"></a><!-- doxytag: member="population::SetId" ref="aa7803cea8fa30be9c9732d8e81f8aaf4" args="(const int &amp;new_id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetId </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>new_id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_id O novo valor que identifica o indivíduo unicamente. </p>

</div>
</div>
<a class="anchor" id="a10331bd5a9f8f4879cea62ee8b1f28c3"></a><!-- doxytag: member="population::SetIndividualsValue" ref="a10331bd5a9f8f4879cea62ee8b1f28c3" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetIndividualsValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Seta o valor da função objetivo para cada indivíduo da população </p>

</div>
</div>
<a class="anchor" id="ac7b74f6cbb098394df06e1c84de0f260"></a><!-- doxytag: member="population::SetNewIndividuals" ref="ac7b74f6cbb098394df06e1c84de0f260" args="(const _pop &amp;new_pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetNewIndividuals </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpopulation.html#a487317a079f4b94c650983ccbd0048a5">_pop</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>new_pop</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Seta os novos indivíduos da população.</p>
<p>new_pop População que contém os indivíduos que formarão a nova população. </p>

</div>
</div>
<a class="anchor" id="aa2cbedb9d90d9c660b4a4369857e1c96"></a><!-- doxytag: member="population::SetNullIndividualAt" ref="aa2cbedb9d90d9c660b4a4369857e1c96" args="(const int &amp;pos)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetNullIndividualAt </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Seta um individuo como nulo (usado antes de remover para manter o individuo antigo)</p>
<p>pos A posição no container de indivíduos do indivíduo a ser removido. </p>

</div>
</div>
<a class="anchor" id="a80e34ba9884327ddc5bafbaedd32014b"></a><!-- doxytag: member="population::SetSum" ref="a80e34ba9884327ddc5bafbaedd32014b" args="(const _realTy &amp;new_sum)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SetSum </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_sum</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_sum O novovalor da soma a ser setado. </p>

</div>
</div>
<a class="anchor" id="a83be39057000008244d4d7bc947d09fa"></a><!-- doxytag: member="population::SortPopulation" ref="a83be39057000008244d4d7bc947d09fa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::SortPopulation </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Ordena o vetor de indivíduos da população. </p>

</div>
</div>
<a class="anchor" id="a7dd1a669bdbc71381ad2d01ca35c24ae"></a><!-- doxytag: member="population::UpdateData" ref="a7dd1a669bdbc71381ad2d01ca35c24ae" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpopulation.html">population</a>&lt; _ty, _realTy &gt;::UpdateData </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Atualiza os dados da nova geração da população </p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir do seguinte arquivo:<ul>
<li><a class="el" href="population_8h_source.html">population.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amigas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Sat Oct 30 13:47:51 2010 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
